package com.qiulingcloud.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiulingcloud.commonsserver.entity.TestOrder;
import com.qiulingcloud.commonsserver.entity.vo.PageReqVO;
import com.qiulingcloud.commonsserver.entity.vo.PageVO;
import com.qiulingcloud.order.vo.req.TestOrderAddReqVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangqiang
 * @since 2020-04-27
 */
public interface TestOrderService extends IService<TestOrder> {

    /**
     * 订单列表（条件 + 分页）
     * @param vo
     * @return
     */
    PageVO<TestOrder> pageInfo(PageReqVO vo);

    /**
     * 新增订单
     * @param vo
     * @param userId
     */
    void createOrder(TestOrderAddReqVO vo, String userId);
}
